]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
authPrompt: hide/stop spinner after verfiication completes
authorRui Matos <tiagomatos@gmail.com>
Mon, 31 Aug 2015 19:21:15 +0000 (15:21 -0400)
committerRay Strode <rstrode@redhat.com>
Mon, 31 Aug 2015 19:24:27 +0000 (15:24 -0400)
When the user successfully types their password, we should hide
the spinner from the button well right away, so it doesn't
consume resources until reset (which may happen significantly later
if the user is vt switched away)

https://bugzilla.gnome.org/show_bug.cgi?id=753891

js/gdm/authPrompt.js

index 465cb3dfc4445f607e22f145028f62d20da60343..88ed2a6890831c63d83cf4f7d64421e5481ee036 100644 (file)
@@ -258,6 +258,7 @@ const AuthPrompt = new Lang.Class({
     },
 
     _onVerificationComplete: function() {
+        this.setActorInDefaultButtonWell(null);
         this.verificationStatus = AuthPromptStatus.VERIFICATION_SUCCEEDED;
        this.cancelButton.reactive = false;
     },